<template>
	<view>
		
	</view>
</template>

<script>
	import { mapMutations, mapActions, mapState, mapGetters } from 'vuex';
	export default {
		name:"shop-check-login",
		data() {
			return {
				
			};
		},
		computed:{
		  ...mapGetters(['isLogin'])	
		},
		watch:{
			isLogin(n,o)
			{
				if(n==false)
				{
					this.go('/pages/login/login');
				}
			}
		},
	    mounted() {
	    	if(!this.isLogin)
			{
				this.go('/pages/login/login');
			}
	    }
	}
</script>

<style>

</style>